<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@taglib
	uri="http://java.sun.com/jsf/core" prefix="f"%><%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="../styles/style.css"></link>
<title>用户登录</title>
</head>
<body>
	<f:view>
	<div class="mainbg">
		<div class="innerbg">
			<div class="table" style="width:300px;height:130px;">
				<div class="tableHead">用户登录</div>
				<h:form>
						<table>
							<tr>
								<td><h:outputText value="用户名:"></h:outputText></td>
								<td><h:inputText value="#{member.userName}" style="width:200px;"></h:inputText></td>
							</tr>
							<tr>
								<td><h:outputText value="密码:"></h:outputText></td>
								<td><h:inputSecret  value="#{member.password}" style="width:200px;"></h:inputSecret></td>
							</tr>
							<tr>
								<td></td>
								<td>
								<h:commandButton value="注册" action="register"></h:commandButton>
								<h:commandButton action="#{messageBean.login}" value="登录"></h:commandButton>
								</td>
							</tr>
						</table>
					</h:form>
				</div>
			</div>
		</div>
		</f:view>
</body>
</html>